<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@page import="org.romaframework.core.*"%>
<%@page import="org.romaframework.aspect.session.*"%>
<%@page import="org.romaframework.aspect.i18n.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@page import="org.romaframework.core.config.ApplicationConfiguration"%>
<%@page import="org.romaframework.module.users.domain.BaseAccount"%>
<%@page import="org.romaframework.aspect.authentication.AuthenticationAspect"%><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%
	String appName = Utility.getCapitalizedString(Roma.component(ApplicationConfiguration.class).getApplicationName());
	SessionInfo sess = Roma.session().getActiveSessionInfo();
%>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title><%=appName%></title>
</head>
<body>
<table width='100%'>
	<tr>
		<td>
		<h1><a href='<%=request.getContextPath()%>/app/direct/home'><%=appName%></a></h1>
		</td>
		<td align="right">
		<table>
			<tr>
				<td>User:</td>
				<td><a href='<%=request.getContextPath()%>/app/direct/changePassword'><%=sess.getAccount()%></a></td>
			</tr>
			<tr>
				<td>Logged On:</td>
				<td><%=Roma.i18n().getDateTimeFormat().format(sess.getCreated())%></td>
			</tr>
		</table>
		</td>
		<td align="right"><a href='<%=request.getContextPath()%>/dynamic/common/logout.jsp'><img
			src='<%=request.getContextPath()%>/static/images/logout.png' border='0' /></a></td>
	</tr>
</table>
</body>
</html>
